package com.nbst.model.mes;

import java.util.Date;

/**
 * 
 * @ClassName: PoRequestOrderLock
 * @Description:采购申请单与生产任务单的关联
 * @author King
 * @date 2018年12月5日
 *
 */
public class PoRequestOrderLock {

	/** 采购申请单id */
	private Integer fPoRequestId;

	/** 采购申请单分录内码 */
	private Integer fPoRequestEntry;

	/** 生产任务单id */
	private Integer fIcmoId;

	/** 关联数量 */
	private Double fQty;

	/** 生产任务单的UUID */
	private String fUUID;

	/** 采购申请UUID */
	private String fReqUUID;

	/** 物料内码 */
	private Integer fItemId;

	/** 该物料的上级物料内码 */
	private Integer fParentItemId;
	
	/**到货时间*/
	private Date fDate;
	
	private Integer fDetailID;
	
	/**采购申请单临时表表头id*/
	private Integer fMpItemRequestId;
	
	/**bom层级*/
	private Integer rank;
	
	/**关闭标志*/
	private Integer fClosed;
	
	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Integer getfPoRequestId() {
		return fPoRequestId;
	}

	public void setfPoRequestId(Integer fPoRequestId) {
		this.fPoRequestId = fPoRequestId;
	}

	public Integer getfPoRequestEntry() {
		return fPoRequestEntry;
	}

	public void setfPoRequestEntry(Integer fPoRequestEntry) {
		this.fPoRequestEntry = fPoRequestEntry;
	}

	public Integer getfIcmoId() {
		return fIcmoId;
	}

	public void setfIcmoId(Integer fIcmoId) {
		this.fIcmoId = fIcmoId;
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public String getfUUID() {
		return fUUID;
	}

	public void setfUUID(String fUUID) {
		this.fUUID = fUUID;
	}

	public String getfReqUUID() {
		return fReqUUID;
	}

	public void setfReqUUID(String fReqUUID) {
		this.fReqUUID = fReqUUID;
	}

	public Integer getfItemId() {
		return fItemId;
	}

	public void setfItemId(Integer fItemId) {
		this.fItemId = fItemId;
	}

	public Integer getfParentItemId() {
		return fParentItemId;
	}

	public void setfParentItemId(Integer fParentItemId) {
		this.fParentItemId = fParentItemId;
	}

	public Integer getfDetailID() {
		return fDetailID;
	}

	public void setfDetailID(Integer fDetailID) {
		this.fDetailID = fDetailID;
	}

	public Integer getfMpItemRequestId() {
		return fMpItemRequestId;
	}

	public void setfMpItemRequestId(Integer fMpItemRequestId) {
		this.fMpItemRequestId = fMpItemRequestId;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	@Override
	public String toString() {
		return "PoRequestOrderLock [fPoRequestId=" + fPoRequestId + ", fPoRequestEntry=" + fPoRequestEntry
				+ ", fIcmoId=" + fIcmoId + ", fQty=" + fQty + ", fUUID=" + fUUID + ", fReqUUID=" + fReqUUID
				+ ", fItemId=" + fItemId + ", fParentItemId=" + fParentItemId + ", fDate=" + fDate + ", fDetailID="
				+ fDetailID + ", fMpItemRequestId=" + fMpItemRequestId + ", rank=" + rank + ", fClosed=" + fClosed
				+ "]";
	}


}